home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Development
/
Source
/
Mailcheck Source
/
drvr src
/
mmc_notify.h
< prev
next >
Wrap
Text File
|
1990-08-09
|
882b
|
35 lines
/*
*
* mac mail check notification module
* by Aaron Wohl (aw0g+@andrew.cmu.edu) jul 1990
* Carnegie-Mellon University
* Pittsburgh, PA 15213-3890
* (412)-268-5032
*
*/
#define MMC_note_mail (0)
#define MMC_note_error (1)
#define MMC_note_kinds (2)
struct note_vars_R {
char **snd_handle; /*handle to mail sounds*/
char **sicn_handle[MMC_note_kinds]; /*handle to mail/error sicn*/
NMRec post_note_rec; /*for posting dialogs/sound*/
NMRec blink_note_rec; /*for blinking*/
};
typedef struct note_vars_R note_vars,*note_vars_pt;
void mmc_note_new_error(void);
void mmc_note_no_error(void);
void mmc_note_new_mail(void);
void mmc_note_old_mail(void);
void mmc_note_no_mail(void);
void mmc_note_uninit(void);
void mmc_note_init(void);
void set_event(int evnum,void (*dowhat)(),long dowhen);
int mmc_note_sound_init(int new_sound_res_num);
void mmc_note_done(void);